package com.zhang;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Auther:
 * @Description:
 * @Date: 2019/12/17 10:49
 */
@Configuration
@Slf4j
public class Controller {
    @Bean
    public void a() {
        for (int i = 0; i < 50; i++) {
            log.info("这是info：  " + i);
        }

        for (int i = 0; i < 50; i++) {
            log.error("这是Error:  " + i);
        }

        int a = 0, b = 3;
        System.out.println(b / a);
    }
}
